package com.chen.pspms.service;

import com.chen.pspms.entity.Majorhazardregistertable;
import com.chen.pspms.utils.ApplicationException;

import java.util.List;

public interface MajorhazardregisterService {
    public Integer save(Majorhazardregistertable majorhazardregistertable) throws ApplicationException;
    public Integer delete(Integer id) throws ApplicationException;
    public Majorhazardregistertable findyById(Integer id) throws ApplicationException;
    public Integer update(Majorhazardregistertable majorhazardregistertable) throws ApplicationException;
    public List<Majorhazardregistertable> findyAll() throws ApplicationException;
    public List<Majorhazardregistertable> findyListByComId(Integer id) throws ApplicationException;
    public List<Majorhazardregistertable> removeSafe(List<Majorhazardregistertable> majorhazardregisterList);
}
